home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / rtgmaster_dev / includes / stormc / rtgmaster / rtgcgx.h < prev    next >
C/C++ Source or Header  |  1998-02-12  |  2KB  |  95 lines

  1. /*
  2. **     $VER: rtgCGX.h 1.001 (08 Mar 1997)
  3. */
  4.  
  5. #ifndef RTGCGX_H
  6. #define RTGCGX_H TRUE
  7.  
  8. #ifndef RTGSUBLIBS_H
  9. #include <rtgmaster/rtgsublibs.h>
  10. #endif
  11.  
  12. #ifndef EXEC_LIBRARIES_H
  13. #include <exec/libraries.h>
  14. #endif
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef EXEC_PORTS_H
  21. #include <exec/ports.h>
  22. #endif
  23.  
  24. #ifndef GRAPHICS_VIEW_H
  25. #include <graphics/view.h>
  26. #endif
  27.  
  28. #include <intuition/intuition.h>
  29.  
  30. struct RtgBaseCGX
  31. {
  32.     struct Library CGXLibBase;
  33.     UWORD  Pad1;
  34.     ULONG  SegList;
  35.     APTR   ExecBase;
  36.     APTR   UtilityBase;
  37.     APTR   DosBase;
  38.     APTR   CGXBase;
  39.     APTR   GfxBase;
  40.     APTR   IntBase;
  41.     ULONG  Flags;
  42.     APTR   ExpansionBase;
  43.     APTR   DiskFontBase;
  44.     APTR   LinkerDB;
  45. };
  46.  
  47. struct MyPort
  48. {
  49.     struct MsgPort *port;
  50.     ULONG signal;
  51.     WORD *MouseX;
  52.     WORD *MouseY;
  53. };
  54.  
  55. struct RtgScreenCGX
  56. {
  57.     struct RtgScreen Header;
  58.     APTR   MyScreen;
  59.     ULONG  ActiveMap;
  60.     APTR   MapA;
  61.     APTR   MapB;
  62.     APTR   MapC;
  63.     APTR   FrontMap;
  64.     ULONG  Bytes;
  65.     ULONG  Width;
  66.     UWORD  Height;
  67.     ULONG  NumBuf;
  68.     UWORD  Locks;
  69.     ULONG  ModeID;
  70.     struct BitMap *RealMapA;
  71.     ULONG Tags[5];
  72.     ULONG  OffA;
  73.     ULONG  OffB;
  74.     ULONG  OffC;
  75.     struct Window *MyWindow;
  76.     struct MyPort PortData;
  77.     ULONG  BPR;
  78.     struct DBufInfo *dbi;
  79.     ULONG  SafeToWrite;
  80.     ULONG  SafeToDisp;
  81.     ULONG  Special;
  82.     ULONG  SrcMode;
  83.     APTR   tempras;
  84.     APTR   tempbm;
  85.     APTR   wbcolors;
  86.     ULONG  colchanged;
  87.     ULONG  ccol;
  88.     APTR   colarray1;
  89.     APTR   colarray2;
  90. };
  91.  
  92.  
  93. #endif
  94.  
  95.